package com.googlecode.alfrescocachingserver.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class WebScriptResponse implements Serializable
{
    private static final long serialVersionUID = -6193995731618100043L;

    protected String encoding;
    protected byte[] responseBytes;
    protected Map<String, List<Object>> headerMap = new HashMap<String, List<Object>>();

//    public WebScriptResponse(String encoding, byte[] responseBytes, Map<String, List<Object>> headerMap)
//    {
//        this.encoding = encoding;
//        this.responseBytes = responseBytes;
//        this.headerMap = headerMap;
//    }

    public String getEncoding()
    {
        return encoding;
    }

    public void setEncoding(String encoding)
    {
        this.encoding = encoding;
    }

    public byte[] getResponseBytes()
    {
        return responseBytes;
    }

    public void setResponseBytes(byte[] responseBytes)
    {
        this.responseBytes = responseBytes;
    }

    public Map<String, List<Object>> getHeaderMap()
    {
        return headerMap;
    }

    public void setHeaderMap(Map<String, List<Object>> headerMap)
    {
        this.headerMap = headerMap;
    }
}
